<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="AddStuServlet" method="post">
		<div>
			<label for="stuName">姓名:</label>
			<input type="text" id="stuName" name="sName" placeholder="Enter Stu Name" required="required"/>
			<span id="stuNameTips"></span>
		</div>
		<div>
			<label for="stuAge">年龄:</label>
			<input type="text" id="stuAge" name="sAge" placeholder="Enter Stu Age" required="required"/>
			<span id="stuAgeTips"></span>
		</div>
		<div>
			<label for="stuGender">性别:</label>
			男<input type="radio" id="stuGender" name="sGender" value="男"/>
			女<input type="radio" name="sGender" value="女"/>
		</div>
		<div>
			<label for="stuHobby">爱好:</label>
			<input type="checkbox" name="sHobby" value="足球"/>足球
			<input type="checkbox" name="sHobby" value="篮球"/>篮球
			<input type="checkbox" name="sHobby" value="排球"/>排球
			<input type="checkbox" name="sHobby" value="网球"/>网球
		</div>
		<input type="submit" value="添加"/>
	</form>
</body>
</html>